package com.pluszg.nutrition.common.bean;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum EnumDatePattern implements SimpleEnum {

    DEFAULT_PATTERN("yyyy-MM-dd HH:mm:ss"), PATTERN_2("yyyyMMdd"),
    PATTERN_3("yyyyMMddHH"), PATTERN_4("yyyy_MM_dd"), PATTERN_5("yyyyMMddHHmmssSSS"),
    PATTERN_6("yyyyMMddHHmmss"), PATTERN_7("yyyy.MM.dd"), PATTERN_8("yyyy.M.d"),
    PATTERN_9("yyyy.MM"), PATTERN_10("yyyy-MM-dd"), PATTERN_11("yyyy-MM"),
    PATTERN_12("yyyy/MM/dd"), PATTERN_13("yyyyMM"), PATTERN_14("yyyy/MM/dd HH:mm:ss"),
    PATTERN_15("yyyy年MM月dd日"), PATTERN_16("yyyy年MM月dd日 HH时mm分ss秒");

    private final String pattern;

    @Override
    public String desc() {
        return pattern;
    }
}
